package com.zzyl.mapper;

import com.zzyl.entity.NursingPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 12531
 * @description 针对表【nursing_plan(护理计划表)】的数据库操作Mapper
 * @createDate 2024-07-18 20:58:40
 * @Entity com.zzyl.entity.NursingPlan
 */
@Mapper
public interface NursingPlanMapper {

    int deleteByPrimaryKey(Long id);

    int insert(NursingPlan record);

    int insertSelective(NursingPlan record);

    NursingPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(NursingPlan record);

    int updateByPrimaryKey(NursingPlan record);

    List<NursingPlan> selectAll();

    List<NursingPlan> selectByPage(@Param("name") String name, @Param("status") Integer status);

    NursingPlan selectByName(String planName);
}
